package com.xbongbong.pro.user.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.user.pojo.AssistTuplePojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 更新助理部门/员工DTO
 * @author kaka
 * @date 2019/4/5 16:30
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class UserAssistUpdateDTO extends BaseDTO {
    private static final long serialVersionUID = -3189176579508184164L;

    /**
     * 添加助理部门/员工的目标员工
     */
    @NotBlank(message = "{dto.msg.userAssistAdd.targetUserId.NotBlank}")
    private String targetUserId;

    /**
     * 助理元组
     */
    @Valid
    private List<AssistTuplePojo> assistTuple;
}
